package io.geekidea.boot.shop.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 网页模板表
 *
 * @author geekidea
 * @since 2024-10-27
 */
@Data
@TableName("template")
@Schema(description = "网页模板表")
public class Template implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "标题图片")
    private String titlePic;

    @Schema(description = "内容")
    private String content;

    @Schema(description = "是否展示")
    private String isShow;

    @Schema(description = "分享文案还是大健康文案")
    private String type;

    private Date updatedTime;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

}

